package com.lmk.ms.common.dto.op;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 扫码登录信息
 *
 * @author laomake@hotmail.com
 * @version 1.0
 * @date 2022/02/23
 */
@Data
@Schema(description = "扫码登录信息")
public class QrLogin {

    /**
     * 会话ID
     */
    @Schema(description = "会话ID")
    private String sid;

    /**
     * 扫码地址
     */
    @Schema(description = "扫码地址")
    private String scanUrl;

    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    private Long uid;

    @Schema(description = "平台类型")
    private String type;

    /**
     * OpenId
     */
    @Schema(description = "OpenId")
    private String openId;

    /**
     * 扫码用户昵称
     */
    @Schema(description = "扫码用户昵称")
    private String nickname;

    /**
     * 扫码用户头像
     */
    @Schema(description = "扫码用户头像")
    private String avatar;

    /**
     * 回跳地址
     */
    @Schema(description = "回跳地址")
    private String redirectUrl;

    /**
     * 扫码状态：0.等待扫码，1.等待确认
     */
    @Schema(description = "扫码状态：0.等待扫码，1.等待确认，2.已确认")
    private Integer status;
}
